<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Minikombajn Pomiarowy: Plik źródłowy /home/arek/Dokumenty/AVRprograms/MKP_3_7/lcd132x64.h</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body onload='searchBox.OnSelectItem(0);'>
<!-- Wygenerowano przez Doxygen 1.7.3 -->
<script type="text/javascript"><!--
var searchBox = new SearchBox("searchBox", "search",false,'Szukaj');
--></script>
<div id="top">
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">Minikombajn Pomiarowy&#160;<span id="projectnumber">1.0</span></div>
  </td>
 </tr>
 </tbody>
</table>
</div>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Strona&#160;główna</span></a></li>
      <li class="current"><a href="files.html"><span>Pliki</span></a></li>
      <li id="searchli">
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Szukaj" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>Lista&#160;plików</span></a></li>
      <li><a href="globals.html"><span>Globalne</span></a></li>
    </ul>
  </div>
<div class="header">
  <div class="headertitle">
<h1>/home/arek/Dokumenty/AVRprograms/MKP_3_7/lcd132x64.h</h1>  </div>
</div>
<div class="contents">
<a href="lcd132x64_8h.html">Idź do dokumentacji tego pliku.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/******************************************************************/</span>
<a name="l00014"></a>00014 <span class="preprocessor">#define SCREEN_WIDTH    132</span>
<a name="l00015"></a>00015 <span class="preprocessor"></span><span class="preprocessor">#define SCREEN_HEIGHT   64</span>
<a name="l00016"></a>00016 <span class="preprocessor"></span><span class="preprocessor">#define PIXELS_PER_PAGE 8</span>
<a name="l00017"></a>00017 <span class="preprocessor"></span>
<a name="l00018"></a>00018 <span class="preprocessor">#include&lt;avr/pgmspace.h&gt;</span>
<a name="l00019"></a>00019 
<a name="l00020"></a>00020 <span class="preprocessor">#define SPLC501C_DISPLAY_ON             0xAF</span>
<a name="l00021"></a>00021 <span class="preprocessor"></span><span class="preprocessor">#define SPLC501C_DISPLAY_OFF            0xAE</span>
<a name="l00022"></a>00022 <span class="preprocessor"></span>
<a name="l00023"></a>00023 <span class="preprocessor">#define SPLC501C_START_LINE                     0x40</span>
<a name="l00024"></a>00024 <span class="preprocessor"></span>
<a name="l00025"></a>00025 <span class="preprocessor">#define SPLC501C_PAGE_ADDRESS           0xB0</span>
<a name="l00026"></a>00026 <span class="preprocessor"></span>
<a name="l00027"></a>00027 <span class="preprocessor">#define SPLC501C_COLUMN_ADDRESS_HI      0x10</span>
<a name="l00028"></a>00028 <span class="preprocessor"></span><span class="preprocessor">#define SPLC501C_COLUMN_ADDRESS_LO      0x00</span>
<a name="l00029"></a>00029 <span class="preprocessor"></span>
<a name="l00030"></a>00030 <span class="preprocessor">#define SPLC501C_ADC_NORMAL                     0xA0</span>
<a name="l00031"></a>00031 <span class="preprocessor"></span><span class="preprocessor">#define SPLC501C_ADC_REVERSE            0xA1</span>
<a name="l00032"></a>00032 <span class="preprocessor"></span>
<a name="l00033"></a>00033 <span class="preprocessor">#define SPLC501C_DISPLAY_NORMAL         0xA6</span>
<a name="l00034"></a>00034 <span class="preprocessor"></span><span class="preprocessor">#define SPLC501C_DISPLAY_REVERSE        0xA7</span>
<a name="l00035"></a>00035 <span class="preprocessor"></span>
<a name="l00036"></a>00036 <span class="preprocessor">#define SPLC501C_DISPLAY_ALL_ON         0xA5</span>
<a name="l00037"></a>00037 <span class="preprocessor"></span><span class="preprocessor">#define SPLC501C_DISPLAY_ALL_OFF        0xA4</span>
<a name="l00038"></a>00038 <span class="preprocessor"></span>
<a name="l00039"></a>00039 <span class="preprocessor">#define SPLC501C_BIAS_19                        0xA2</span>
<a name="l00040"></a>00040 <span class="preprocessor"></span><span class="preprocessor">#define SPLC501C_BIAS_15                        0xA3</span>
<a name="l00041"></a>00041 <span class="preprocessor"></span>
<a name="l00042"></a>00042 <span class="preprocessor">#define SPLC501C_RMW_START                      0xE0</span>
<a name="l00043"></a>00043 <span class="preprocessor"></span><span class="preprocessor">#define SPLC501C_RMW_END                        0xEE</span>
<a name="l00044"></a>00044 <span class="preprocessor"></span>
<a name="l00045"></a>00045 <span class="preprocessor">#define SPLC501C_RESET                          0xE2</span>
<a name="l00046"></a>00046 <span class="preprocessor"></span>
<a name="l00047"></a>00047 <span class="preprocessor">#define SPLC501C_COM0                           0xC0</span>
<a name="l00048"></a>00048 <span class="preprocessor"></span><span class="preprocessor">#define SPLC501C_COM63                          0xC8</span>
<a name="l00049"></a>00049 <span class="preprocessor"></span>
<a name="l00050"></a>00050 <span class="preprocessor">#define SPLC501C_POWERON                        0x2F</span>
<a name="l00051"></a>00051 <span class="preprocessor"></span>
<a name="l00052"></a>00052 <span class="preprocessor">#define SPLC501C_VOLTAGE_RATIO          0x20</span>
<a name="l00053"></a>00053 <span class="preprocessor"></span>
<a name="l00054"></a>00054 <span class="preprocessor">#define SPLC501C_VOLUME_MODE            0x81</span>
<a name="l00055"></a>00055 <span class="preprocessor"></span><span class="preprocessor">#define SPLC501C_VOLUME_SET                     0x00</span>
<a name="l00056"></a>00056 <span class="preprocessor"></span>
<a name="l00057"></a>00057 <span class="preprocessor">#define SPLC501C_PAGE_BLINKING_MODE     0xD5</span>
<a name="l00058"></a>00058 <span class="preprocessor"></span><span class="preprocessor">#define SPLC501C_PAGE_BLINKING_0        0x01</span>
<a name="l00059"></a>00059 <span class="preprocessor"></span><span class="preprocessor">#define SPLC501C_PAGE_BLINKING_1        0x02</span>
<a name="l00060"></a>00060 <span class="preprocessor"></span><span class="preprocessor">#define SPLC501C_PAGE_BLINKING_2        0x04</span>
<a name="l00061"></a>00061 <span class="preprocessor"></span><span class="preprocessor">#define SPLC501C_PAGE_BLINKING_3        0x08</span>
<a name="l00062"></a>00062 <span class="preprocessor"></span><span class="preprocessor">#define SPLC501C_PAGE_BLINKING_4        0x10</span>
<a name="l00063"></a>00063 <span class="preprocessor"></span><span class="preprocessor">#define SPLC501C_PAGE_BLINKING_5        0x20</span>
<a name="l00064"></a>00064 <span class="preprocessor"></span><span class="preprocessor">#define SPLC501C_PAGE_BLINKING_6        0x40</span>
<a name="l00065"></a>00065 <span class="preprocessor"></span><span class="preprocessor">#define SPLC501C_PAGE_BLINKING_7        0x80</span>
<a name="l00066"></a>00066 <span class="preprocessor"></span>
<a name="l00067"></a>00067 <span class="keywordtype">void</span> <a class="code" href="lcd132x64_8c.html#aa5614d31c05c18f4f450e124c833e94a" title="Funkcja wylaczajaca wyswietlacz.">LCDOff</a>(<span class="keywordtype">void</span>);
<a name="l00068"></a>00068 uint8_t <a class="code" href="lcd132x64_8c.html#a152558f68e3f0383df26a235dce801a9" title="Funkcja ustawiajaca podswietlenie wyswietlacza.">LCDBright</a>(int8_t step);
<a name="l00069"></a>00069 uint8_t <a class="code" href="lcd132x64_8c.html#a27b519a0adacb7130044bca00e2fccee" title="Funkcja ustawiajaca kontrast wyswietlacza.">LCDContrast</a>(int8_t step);
<a name="l00070"></a>00070 <span class="keywordtype">void</span> <a class="code" href="lcd132x64_8c.html#a09abdd3ecad8193e05a81cdcfb0ce25b" title="Funkcja wysylajaca jeden bajt do wyswietlacza.">LCDWriteData</a>(<span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> dataToWrite);
<a name="l00071"></a>00071 <span class="keywordtype">void</span> <a class="code" href="lcd132x64_8c.html#af56d8d06e50d2b167a12e8dba360ec3d" title="Funkcja ustawiajaca kursor na wybranej pozycji.">LCDGoTo</a>(<span class="keywordtype">unsigned</span> <span class="keywordtype">char</span>, <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span>);
<a name="l00072"></a>00072 <span class="keywordtype">void</span> <a class="code" href="lcd132x64_8c.html#ae0d278e9debb5abe758041f7d71f299c" title="Funkcja wysylajaca znak do wyswietlacza.">LCDWriteChar</a>(uint8_t charCode);
<a name="l00073"></a>00073 <span class="keywordtype">void</span> <a class="code" href="lcd132x64_8c.html#a88e98d09d50f0aad0923318af72bea2b" title="Funkcja wysylajaca znak do wyswietlacza z negacja kolorow.">LCDWriteCharNeg</a>(uint8_t charCode);
<a name="l00074"></a>00074 <span class="comment">//void LCDWriteString(char* string);</span>
<a name="l00075"></a>00075 <span class="keywordtype">void</span> <a class="code" href="lcd132x64_8c.html#ad19cc6c33f8e5f9fcf56d2c0b7d5d2f7" title="Funkcja wysylajaca lancuch znakow z pamieci FLASH do wyswietlacza.">LCDText</a>(prog_char* <span class="keywordtype">string</span>);
<a name="l00076"></a>00076 <span class="keywordtype">void</span> <a class="code" href="lcd132x64_8c.html#aaf3ee886c7439e069f439ff19bd4df7d" title="Funkcja wysylajaca lancuch znakow z pamieci FLASH do wyswietlacza z negacja kolorow.">LCDTextNeg</a>(prog_char* <span class="keywordtype">string</span>);
<a name="l00077"></a>00077 <span class="keywordtype">void</span> <a class="code" href="lcd132x64_8c.html#a410f02e534a63d1f6e7a168dae003d6d" title="Funkcja konfigurujaca wyswietlacz LCD.">LCDInit</a>(<span class="keywordtype">void</span>);
<a name="l00078"></a>00078 <span class="keywordtype">void</span> <a class="code" href="lcd132x64_8c.html#a9cc9ee769df06487ab7691db4e1a9770" title="Funkcja czyszczaca ekran wyswietlacza.">LCDClearScreen</a>(<span class="keywordtype">void</span>);
<a name="l00079"></a>00079 <span class="keywordtype">void</span> lcd_String_neg(uint8_t val);
<a name="l00080"></a>00080 <span class="comment">//void GLCD_Bitmap(char *, unsigned char, unsigned char, unsigned char, unsigned char);</span>
<a name="l00081"></a>00081 
</pre></div></div>
</div>
<!--- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Pliki</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Funkcje</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Zmienne</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Definicje</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<hr class="footer"/><address class="footer"><small>Wygenerowano Fri Dec 30 2011 17:28:02 dla Minikombajn Pomiarowy programem&#160;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </small></address>
</body>
</html>
